package com.emmmya.ocs.modules.system.service;

import com.emmmya.ocs.common.base.BaseService;
import com.emmmya.ocs.modules.system.entity.Menu;

import java.util.List;

/**
 * @description:
 * @author: 咕噜肉IT小店-黑医
 * @createDate: 2021-02-20
 * @version: 1.0
 */
public interface MenuService  extends BaseService<Menu,Long> {

    List<Menu>  findByLevel(Integer level);

    List<Menu> findByParentId(Integer parentId);

    Integer updateByPrimaryKeySelective(Menu menu);
}
